package chongxin;

public class learn7 {
   /* private int number;
    private int people;
    public learn7(){
    }

    public learn7(int number, int people) {
        this.number = number;
        this.people = people;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getPeople() {
        return people;
    }

    public void setPeople(int people) {
        this.people = people;
    }
    public void print(int number,int people){
      int   number1=number;
      int number2=people;
        if(number1>0&&number1<=100){
            number1+=1;
            System.out.println("票数为:"+number1);
        }else{
            System.out.println("投入错误"+people);
        }

    }*/
}
